Skip to content

build(deps): Bump zstd.version from 0.16 to 0.17 - #798

Merged
dfa1 merged 1 commit into
mainfrom
dependabot/maven/zstd.version-0.17
Nov 30, 2026
Merged

dfa1 merged 1 commit into
mainfrom
dependabot/maven/zstd.version-0.17

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 30, 2026

Copy link
Copy Markdown
Contributor

Bumps zstd.version from 0.16 to 0.17.
Updates io.github.dfa1.zstd:zstd from 0.16 to 0.17

Release notes

Sourced from io.github.dfa1.zstd:zstd's releases.

v0.17

Added

  • One set of setters per side, shared by the context and both streams: ZstdCompressSettings and ZstdDecompressSettings (adding magicless to the decompress streams). (#166)
  • ZstdDecompressContext#ignoreChecksum(boolean) skips content-checksum validation (experimental upstream). (#148)
  • ignoreChecksum(boolean) and the window-log limit on ZstdInputStream and ZstdDecompressStream. (#154)
  • Magicless frames (experimental upstream): magicless(boolean) on both contexts, compatible with zstd-jni's setMagicless; ZstdFrame helpers don't recognize them. (#147)

Changed

  • Breaking: parameter(…, int) is gone from ZstdCompressContext, ZstdCompressStream, ZstdOutputStream and ZstdDecompressContext; every parameter has a named setter instead. (#166)
    • parameter(HASH_LOG, n) → hashLog(n), parameter(NB_WORKERS, n) → workers(n), and so on; jobSize and targetCBlockSize take a ZstdByteSize.
    • parameter(STRATEGY, n) → strategy(ZstdStrategy); the flags → contentSize(boolean), dictId(boolean).
    • level(ZstdCompressionLevel) now works on the compress streams, replacing the factory overloads that took a level: newCompressStream(level) → newCompressStream().level(level), likewise for newOutputStream; newPledgedOutputStream(out, level, size) → newPledgedOutputStream(out, size).
    • ZstdWindowLog is gone: windowLog(ZstdWindowLog.of(n)) → windowLog(n), same for windowLogMax.
    • Out-of-range values now throw IllegalArgumentException naming the valid range, instead of a native ZstdException (or silent clamping, for the multithreading parameters).
    • ZstdCompressParameter, ZstdDecompressParameter, ZstdBounds, NativeObject and NativePointerWithRefCount are no longer public.

Fixed

  • Closing a shared ZstdCompressDictionary / ZstdDecompressDictionary while another thread uses it no longer frees it mid-call. (#164)
  • refPrefix crashed the JVM when the prefix's arena was closed before a frame used it; it now throws IllegalStateException. (#162)
  • longDistanceMatching(false) selected zstd's automatic mode instead of disabling long-distance matching. (#165)
  • windowLogMax javadoc: it limits streaming decompression only; one-shot ZstdDecompressContext decoding ignores it. (#157)
  • A read-only dst segment crashed the JVM or was silently overwritten; it now throws IllegalArgumentException. (#163)
  • The segment streams crashed the JVM on a dst/src from a closed arena or another thread; they now throw. (#161)
  • A failed stream constructor could leak its native context or arena; it now releases both. (#169)
  • Closing any of the four streams from a thread other than the one that created it leaked native memory; streams can now be closed from any thread. (#186)
  • Dictionary training and finalizeFrom crashed the JVM when the samples list changed size during the call; they now use one consistent copy of it. (#184)
  • ZstdOutputStream.close() crashed the JVM when the wrapped stream closed it again from its

... (truncated)

Changelog

Sourced from io.github.dfa1.zstd:zstd's changelog.

[0.17] - 2026-11-26

Added

  • One set of setters per side, shared by the context and both streams: ZstdCompressSettings and ZstdDecompressSettings (adding magicless to the decompress streams). (#166)
  • ZstdDecompressContext#ignoreChecksum(boolean) skips content-checksum validation (experimental upstream). (#148)
  • ignoreChecksum(boolean) and the window-log limit on ZstdInputStream and ZstdDecompressStream. (#154)
  • Magicless frames (experimental upstream): magicless(boolean) on both contexts, compatible with zstd-jni's setMagicless; ZstdFrame helpers don't recognize them. (#147)

Changed

  • Breaking: parameter(…, int) is gone from ZstdCompressContext, ZstdCompressStream, ZstdOutputStream and ZstdDecompressContext; every parameter has a named setter instead. (#166)
    • parameter(HASH_LOG, n) → hashLog(n), parameter(NB_WORKERS, n) → workers(n), and so on; jobSize and targetCBlockSize take a ZstdByteSize.
    • parameter(STRATEGY, n) → strategy(ZstdStrategy); the flags → contentSize(boolean), dictId(boolean).
    • level(ZstdCompressionLevel) now works on the compress streams, replacing the factory overloads that took a level: newCompressStream(level) → newCompressStream().level(level), likewise for newOutputStream; newPledgedOutputStream(out, level, size) → newPledgedOutputStream(out, size).
    • ZstdWindowLog is gone: windowLog(ZstdWindowLog.of(n)) → windowLog(n), same for windowLogMax.
    • Out-of-range values now throw IllegalArgumentException naming the valid range, instead of a native ZstdException (or silent clamping, for the multithreading parameters).
    • ZstdCompressParameter, ZstdDecompressParameter, ZstdBounds, NativeObject and NativePointerWithRefCount are no longer public.

Fixed

  • Closing a shared ZstdCompressDictionary / ZstdDecompressDictionary while another thread uses it no longer frees it mid-call. (#164)
  • refPrefix crashed the JVM when the prefix's arena was closed before a frame used it; it now throws IllegalStateException. (#162)
  • longDistanceMatching(false) selected zstd's automatic mode instead of disabling long-distance matching. (#165)
  • windowLogMax javadoc: it limits streaming decompression only; one-shot ZstdDecompressContext decoding ignores it. (#157)
  • A read-only dst segment crashed the JVM or was silently overwritten; it now throws IllegalArgumentException. (#163)
  • The segment streams crashed the JVM on a dst/src from a closed arena or another thread; they now throw. (#161)
  • A failed stream constructor could leak its native context or arena; it now releases both. (#169)
  • Closing any of the four streams from a thread other than the one that created it leaked native memory; streams can now be closed from any thread. (#186)
  • Dictionary training and finalizeFrom crashed the JVM when the samples list changed size during the call; they now use one consistent copy of it. (#184)
  • ZstdOutputStream.close() crashed the JVM when the wrapped stream closed it again from its

... (truncated)

Commits
  • 4112f3e release: 0.17
  • c4f4930 docs: release skill leaves the standalone smoke pom alone
  • 8e4ad9c docs: add release and changelog skills
  • 3fb3f1c docs: bump dependency-snippet versions to 0.17
  • 97de4ee ci: run the macOS legs on macos-15
  • 256ee64 fix: hand zstd a per-frame copy of the refPrefix prefix (#185) (#190)
  • c6cafe4 fix: mark ZstdOutputStream closed before draining the final frame (#183) (#189)
  • c1beecd fix: snapshot the samples list before flattening it for ZDICT (#184) (#188)
  • e27d18a fix: let streams be closed from any thread (#186) (#187)
  • 2fe4270 feat!: one named setter per native parameter, shared by contexts and streams ...
  • Additional commits viewable in compare view

Updates io.github.dfa1.zstd:zstd-platform from 0.16 to 0.17

Release notes

Sourced from io.github.dfa1.zstd:zstd-platform's releases.

v0.17

Added

  • One set of setters per side, shared by the context and both streams: ZstdCompressSettings and ZstdDecompressSettings (adding magicless to the decompress streams). (#166)
  • ZstdDecompressContext#ignoreChecksum(boolean) skips content-checksum validation (experimental upstream). (#148)
  • ignoreChecksum(boolean) and the window-log limit on ZstdInputStream and ZstdDecompressStream. (#154)
  • Magicless frames (experimental upstream): magicless(boolean) on both contexts, compatible with zstd-jni's setMagicless; ZstdFrame helpers don't recognize them. (#147)

Changed

  • Breaking: parameter(…, int) is gone from ZstdCompressContext, ZstdCompressStream, ZstdOutputStream and ZstdDecompressContext; every parameter has a named setter instead. (#166)
    • parameter(HASH_LOG, n) → hashLog(n), parameter(NB_WORKERS, n) → workers(n), and so on; jobSize and targetCBlockSize take a ZstdByteSize.
    • parameter(STRATEGY, n) → strategy(ZstdStrategy); the flags → contentSize(boolean), dictId(boolean).
    • level(ZstdCompressionLevel) now works on the compress streams, replacing the factory overloads that took a level: newCompressStream(level) → newCompressStream().level(level), likewise for newOutputStream; newPledgedOutputStream(out, level, size) → newPledgedOutputStream(out, size).
    • ZstdWindowLog is gone: windowLog(ZstdWindowLog.of(n)) → windowLog(n), same for windowLogMax.
    • Out-of-range values now throw IllegalArgumentException naming the valid range, instead of a native ZstdException (or silent clamping, for the multithreading parameters).
    • ZstdCompressParameter, ZstdDecompressParameter, ZstdBounds, NativeObject and NativePointerWithRefCount are no longer public.

Fixed

  • Closing a shared ZstdCompressDictionary / ZstdDecompressDictionary while another thread uses it no longer frees it mid-call. (#164)
  • refPrefix crashed the JVM when the prefix's arena was closed before a frame used it; it now throws IllegalStateException. (#162)
  • longDistanceMatching(false) selected zstd's automatic mode instead of disabling long-distance matching. (#165)
  • windowLogMax javadoc: it limits streaming decompression only; one-shot ZstdDecompressContext decoding ignores it. (#157)
  • A read-only dst segment crashed the JVM or was silently overwritten; it now throws IllegalArgumentException. (#163)
  • The segment streams crashed the JVM on a dst/src from a closed arena or another thread; they now throw. (#161)
  • A failed stream constructor could leak its native context or arena; it now releases both. (#169)
  • Closing any of the four streams from a thread other than the one that created it leaked native memory; streams can now be closed from any thread. (#186)
  • Dictionary training and finalizeFrom crashed the JVM when the samples list changed size during the call; they now use one consistent copy of it. (#184)
  • ZstdOutputStream.close() crashed the JVM when the wrapped stream closed it again from its

... (truncated)

Changelog

Sourced from io.github.dfa1.zstd:zstd-platform's changelog.

[0.17] - 2026-11-26

Added

  • One set of setters per side, shared by the context and both streams: ZstdCompressSettings and ZstdDecompressSettings (adding magicless to the decompress streams). (#166)
  • ZstdDecompressContext#ignoreChecksum(boolean) skips content-checksum validation (experimental upstream). (#148)
  • ignoreChecksum(boolean) and the window-log limit on ZstdInputStream and ZstdDecompressStream. (#154)
  • Magicless frames (experimental upstream): magicless(boolean) on both contexts, compatible with zstd-jni's setMagicless; ZstdFrame helpers don't recognize them. (#147)

Changed

  • Breaking: parameter(…, int) is gone from ZstdCompressContext, ZstdCompressStream, ZstdOutputStream and ZstdDecompressContext; every parameter has a named setter instead. (#166)
    • parameter(HASH_LOG, n) → hashLog(n), parameter(NB_WORKERS, n) → workers(n), and so on; jobSize and targetCBlockSize take a ZstdByteSize.
    • parameter(STRATEGY, n) → strategy(ZstdStrategy); the flags → contentSize(boolean), dictId(boolean).
    • level(ZstdCompressionLevel) now works on the compress streams, replacing the factory overloads that took a level: newCompressStream(level) → newCompressStream().level(level), likewise for newOutputStream; newPledgedOutputStream(out, level, size) → newPledgedOutputStream(out, size).
    • ZstdWindowLog is gone: windowLog(ZstdWindowLog.of(n)) → windowLog(n), same for windowLogMax.
    • Out-of-range values now throw IllegalArgumentException naming the valid range, instead of a native ZstdException (or silent clamping, for the multithreading parameters).
    • ZstdCompressParameter, ZstdDecompressParameter, ZstdBounds, NativeObject and NativePointerWithRefCount are no longer public.

Fixed

  • Closing a shared ZstdCompressDictionary / ZstdDecompressDictionary while another thread uses it no longer frees it mid-call. (#164)
  • refPrefix crashed the JVM when the prefix's arena was closed before a frame used it; it now throws IllegalStateException. (#162)
  • longDistanceMatching(false) selected zstd's automatic mode instead of disabling long-distance matching. (#165)
  • windowLogMax javadoc: it limits streaming decompression only; one-shot ZstdDecompressContext decoding ignores it. (#157)
  • A read-only dst segment crashed the JVM or was silently overwritten; it now throws IllegalArgumentException. (#163)
  • The segment streams crashed the JVM on a dst/src from a closed arena or another thread; they now throw. (#161)
  • A failed stream constructor could leak its native context or arena; it now releases both. (#169)
  • Closing any of the four streams from a thread other than the one that created it leaked native memory; streams can now be closed from any thread. (#186)
  • Dictionary training and finalizeFrom crashed the JVM when the samples list changed size during the call; they now use one consistent copy of it. (#184)
  • ZstdOutputStream.close() crashed the JVM when the wrapped stream closed it again from its

... (truncated)

Commits
  • 4112f3e release: 0.17
  • c4f4930 docs: release skill leaves the standalone smoke pom alone
  • 8e4ad9c docs: add release and changelog skills
  • 3fb3f1c docs: bump dependency-snippet versions to 0.17
  • 97de4ee ci: run the macOS legs on macos-15
  • 256ee64 fix: hand zstd a per-frame copy of the refPrefix prefix (#185) (#190)
  • c6cafe4 fix: mark ZstdOutputStream closed before draining the final frame (#183) (#189)
  • c1beecd fix: snapshot the samples list before flattening it for ZDICT (#184) (#188)
  • e27d18a fix: let streams be closed from any thread (#186) (#187)
  • 2fe4270 feat!: one named setter per native parameter, shared by contexts and streams ...
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps `zstd.version` from 0.16 to 0.17.

Updates `io.github.dfa1.zstd:zstd` from 0.16 to 0.17
- [Release notes](https://github.com/dfa1/zstd-ffm/releases)
- [Changelog](https://github.com/dfa1/zstd-ffm/blob/main/CHANGELOG.md)
- [Commits](dfa1/zstd-ffm@v0.16...v0.17)

Updates `io.github.dfa1.zstd:zstd-platform` from 0.16 to 0.17
- [Release notes](https://github.com/dfa1/zstd-ffm/releases)
- [Changelog](https://github.com/dfa1/zstd-ffm/blob/main/CHANGELOG.md)
- [Commits](dfa1/zstd-ffm@v0.16...v0.17)

---
updated-dependencies:
- dependency-name: io.github.dfa1.zstd:zstd
  dependency-version: '0.17'
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.github.dfa1.zstd:zstd-platform
  dependency-version: '0.17'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Nov 30, 2026
@dfa1
dfa1 merged commit 33ebdc8 into main Nov 30, 2026
6 of 7 checks passed
@dfa1
dfa1 deleted the dependabot/maven/zstd.version-0.17 branch November 30, 2026 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant